package com.sd.sl;

import java.io.FileOutputStream;
import java.io.IOException;

public class Test6 {
    public static void main(String[] args) throws IOException {
            String deta = "今天是周五";
            FileOutputStream fileOutputStream = new FileOutputStream("1.txt");
            byte[] bytes = deta.getBytes();
            fileOutputStream.write(bytes);
        }
    }

